Skip to content

[3.15] gh-88037 - Move port validation logic to parsing time (GH-159122) - #161619

Merged
orsenthil merged 1 commit into
python:3.15from
miss-islington:backport-403f6dd-3.15
Nov 8, 2026
Merged

orsenthil merged 1 commit into
python:3.15from
miss-islington:backport-403f6dd-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor
  • Move port validation logic to parsing time

  • Fix CI. Handle the special case of file://C:\ parsed by url2pathname
    function where ":" should not be treated as port separator.


(cherry picked from commit 403f6dd)

Co-authored-by: Senthil Kumaran senthil@python.org
Co-authored-by: Miguel Mendes miguel.mdebrito@gmail.com

…-159122)

* Move port validation logic to parsing time

* Fix CI. Handle the special case of file://C:\\  parsed by url2pathname
function where ":" should not be treated as port separator.

---------
(cherry picked from commit 403f6dd)

Co-authored-by: Senthil Kumaran <senthil@python.org>
Co-authored-by: Miguel Mendes <miguel.mdebrito@gmail.com>
@orsenthil
orsenthil enabled auto-merge (squash) November 8, 2026 15:31
@orsenthil
orsenthil merged commit 1a530ac into python:3.15 Nov 8, 2026
60 checks passed
@miss-islington
miss-islington deleted the backport-403f6dd-3.15 branch November 8, 2026 16:06
@bedevere-app

bedevere-app Bot commented Nov 14, 2026

Copy link
Copy Markdown

GH-161989 is a backport of this pull request to the 3.15 branch.

orsenthil pushed a commit that referenced this pull request Nov 14, 2026
…161989)

Revert "[3.15] gh-88037 - Move port validation logic to parsing time (GH-159122) (#161619)"
This reverts commit 1a530ac.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants